//index.js
//获取应用实例
const app = getApp()
Page({
  data: {
    userInfo: {},
    ip: app.data.serverIp + app.data.serverPort
  },
  //事件处理函数
  bindViewTap: function() {
    wx.navigateTo({
      url: '../logs/logs'
    })
  },
  gotoChooseUseType: function () {
    wx.navigateTo({
      url: '../chooseUseType/chooseUseType'
    })
  },
  gotoAdminManageHome: function () {
    wx.navigateTo({
      url: '../adminManageHome/adminManageHome'
    })
  },
  gotoMainHome: function(){
    wx.navigateTo({
      url: '../home/home'
    })
  },
  onLoad: function () {
    
  },
  onShow: function () {
    wx.setNavigationBarColor({
      "frontColor": "#000000",
      "backgroundColor": "#FFFFFF",
      "animation": {}
    });
  },
})
